package lol.clann.bukkit.pluginboot.model.gui;

import org.bukkit.entity.Player;
import org.bukkit.event.inventory.InventoryClickEvent;

import javax.annotation.Nonnull;

/**
 * 打开 关闭
 *
 * @author pyz
 * @date 2018/6/30 下午10:31
 */
public class InteractAction<E extends InventoryClickEvent> {
    private View view;
    private E event;
    private Player player;

    public InteractAction(@Nonnull View view, @Nonnull E event, @Nonnull Player player) {
        this.view = view;
        this.event = event;
        this.player = player;
    }

    public View getView() {
        return view;
    }

    public E getEvent() {
        return event;
    }

    public Player getPlayer() {
        return player;
    }
}
